#include<stdio.h>

int digui_age(int people)
{
	//递归出口条件
	int age;
	if(people==1)
	{
		return 10;
	}
	else
	{
		people--;
		return digui_age(people)+2;
	}
}

int main()
{
	int people;
	printf("Do you want to know whose age? Please input:\n");
	scanf("%d",&people);
	int num_age=digui_age(people);
	printf("The age is %d\n",num_age);
	
	return 0;
}
